import request from '@/utils/request'

// 查询活动图片信息列表
export function listList(query) {
  return request({
    url: '/event/list/list',
    method: 'get',
    params: query
  })
}

// 查询活动图片信息详细
export function getList(imageid) {
  return request({
    url: '/event/list/' + imageid,
    method: 'get'
  })
}

// 新增活动图片信息
export function addList(data) {
  return request({
    url: '/event/list',
    method: 'post',
    data: data
  })
}

// 修改活动图片信息
export function updateList(data) {
  return request({
    url: '/event/list',
    method: 'put',
    data: data
  })
}

// 删除活动图片信息
export function delList(imageid) {
  return request({
    url: '/event/list/' + imageid,
    method: 'delete'
  })
}
